package com.cdtye.itps.cms.service.track;

import com.cdtye.common.mybatiscore.base.BaseService;
import com.cdtye.itps.cms.dao.track.entity.JcTrack;
import com.cdtye.itps.cms.dao.track.vo.JcTrackVo;
import com.cdtye.itps.cms.mapper.track.JcTrackMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 股道 服务类
 */
@Service
public class JcTrackService extends BaseService<JcTrackMapper, JcTrack> {
    /**
     * getTrackById
     * @param trackId
     * @return
     */
    public Map<String, Object> getTrackById(String trackId){
        return baseMapper.getTrackById(trackId);
    }

    /**
     * getTrackInfoByTrackIdList
     * @param vo
     * @return
     */
    public Map<String, Object> getTrackInfoByTrackIdList(JcTrackVo vo){
        return baseMapper.getTrackInfoByTrackIdList(vo);
    }

    /**
     * getList
     * @param vo
     * @return
     */
    public List<Map<String, Object>> getList(JcTrackVo vo){
        return baseMapper.getList(vo);
    }
}
